package com.bskj.kuaifu.service;

import java.util.Map;

import org.springframework.transaction.annotation.Transactional;

import com.bskj.common.bean.model.NoCarnoParkInfo;
import com.bskj.common.service.IBaseService;
import com.bskj.kuaifu.bean.vo.req.NoCarnoReqVo;

public interface INoCarnoParkInfoService extends IBaseService<NoCarnoParkInfo> {
	/**
	 * 停车场岗亭注册
	 * 
	 * @param boxNo 岗亭编码
	 * @param boxName 岗亭描述
	 * @param parkLotId 停车场ID
	 * @param parkLotUuid 停车场UUID
	 * @param rails 抬杆信息
	 * @return
	 * @throws Exception
	 */
	@Transactional(rollbackFor = Exception.class)
	Map<String, Object> registerBox(String boxNo, String boxName, Integer parkLotId, String parkLotUuid, String rails)
			throws Exception;

	/**
	 * 无牌车进场
	 * @param carInReq
	 * @return
	 * @throws Exception
	 */
	Map<String, Object> carIn(NoCarnoReqVo carInReq) throws Exception;

	/**
	 * 无牌车出场
	 * @param carInReq
	 * @return
	 * @throws Exception
	 */
	Map<String, Object> carOut(NoCarnoReqVo carInReq) throws Exception;
}